package steam;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

public class Test1 {
    public static void main(String[] args) {
        Map<String, String> map = new ArrayList<>(List.of("真白花音-日本萝莉", "hanser-憨色", "小缘-大毛", "早稻叽-粉毛萝莉"))
                .stream().collect(Collectors.toMap(s -> s.split("-")[0], s -> s.split("-")[1]));
        System.out.println(map);
    }
}
